<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class Group
 * @package App\Models
 * @mixin \Eloquent
 */
class Group extends Model
{
    use SoftDeletes;

    protected $table = 'group';

    public static function setLogoUrl($key, $style = '_200x200')
    {
        return config('admin.upload.host') . $key . $style;
    }
}
